package cn.sofwin.day0127.homework.Computer;

public class Computer implements CPU, HardDisk, EMS{
    public void printInfo(){
        System.out.println("计算机的信息如下：");
        System.out.println("CPU的品牌是：" + CPU.brand + "，主频是：" + CPU.GHz);
        System.out.println("硬盘容量是：" + HardDisk.hardDiskStore + "GB");
        System.out.println("内存容量是：" + EMS.emsStore + "GB");
    }

    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.printInfo();
    }
}
